package B;

public class Student {
private String name;
private int age;
private String sex;
public Student(){};
public Student(String name,int age,String sex){
this.name=name;
this.age=age;
this.sex=sex;
}
public void setName(String name){
this.name=name;
}
public String getName(String name){
return name;
}
public void setAge(int age){
this.age=age;
}
public int getAge(int age){
return age;
}
public void setSex(String sex){
this.sex=sex;
}
public String getSex(String sex){
return sex;
}
public String toString(){
return (name+age+sex);

}
}